package com.neusoft.ehr.service.impl;

import com.neusoft.ehr.mapper.DeptMapper;
import com.neusoft.ehr.mapper.EmpMapper;
import com.neusoft.ehr.service.DeptService;
import com.neusoft.ehr.service.EmpService;
import com.neusoft.entity.Dept;
import com.neusoft.entity.Emp;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EmpServiceImpl implements EmpService {
    @Override
    public int addEmp(Emp emp) {
       int i  =  empMapper.addEmp(emp);
        return i ;
    }

    @Autowired
    EmpMapper empMapper ;


}
